home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 3
/
Amiga Tools 3.iso
/
grafik
/
raytracing
/
rayshade-4.0.6.3
/
examples
/
planet.ray
< prev
next >
Wrap
Text File
|
1994-08-09
|
467b
|
24 lines
/*
* "planet" input file to demonstrate fbm texture and use of cpp
* C. Kolb
*/
#define EXPAND(x) scale x x x
#define LACUNARITY 2.
#define OCTAVES 6
screen 256 256
light 1.0 0.9 0.8 directional 1. -1. 1.
eyep 0. -4. 0.
sphere ambient .06 .05 .04
diffuse .9 .85 .8
1.0 0 0 0
texture fbm 0. /* offset */
1. /* scale */
0.3 /* h */
LACUNARITY /* lambda */
OCTAVES /* octaves */
-.2 /* thresh */
planet.map /* mapname */
EXPAND(0.7)